home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geni@l B1 3
/
Geni@l B1 3.iso
/
Mac_OSX
/
Install Flash Player 10 UB.dmg
/
Adobe Flash Player.pkg
/
Contents
/
Resources
/
preflight
< prev
next >
Wrap
Text File
|
2009-02-05
|
885b
|
31 lines
#!/bin/sh
#
# Preflight installer script
# Copyright 2008 Adobe Systems Incorporated. All Rights Reserved.
#
# ----------------------------------------------------------------------
# [1] Perform version check and don't install on v10.2 & v10.3 systems.
# ----------------------------------------------------------------------
"$1/Contents/Resources/MacOSXVersionCheck.sh"
# Fail script if operation didn't execute successfully
EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]
then
exit $EXIT_STATUS
fi
# ----------------------------------------------------------------------
# [2] If user's system >= v10.4, continue
# ----------------------------------------------------------------------
"$1/Contents/Resources/CloseFPClients.app/Contents/MacOS/CloseFPClients"
# Fail script if operation didn't execute successfully
EXIT_STATUS=$?
if [ $EXIT_STATUS -ne 0 ]
then
exit $EXIT_STATUS
fi